
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Models.Entity
{
    /// <summary>
    /// 教师课程
    /// </summary>
    [Table("c_teacher_course")]
    public class CTeacherCourseEntity : BaseModel
    {

        /// <summary>
        /// teacher_course_id
        /// </summary>
        [Key]
        [Column("teacher_course_id")]
        public int teacher_course_id { get; set; }

        /// <summary>
        /// teacher_id
        /// </summary>
        [Column("teacher_id")]
        public int teacher_id { get; set; }
        /// <summary>
        /// course_id
        /// </summary>
        [Required]
        [Column("course_id")]
        public int course_id { get; set; }

        /// <summary>
        /// 场地
        /// </summary>
        /// <value></value>
        [Column("place_id")]
        public int place_id { get; set; }

        /// <summary>
        /// 连续上课节数
        /// </summary>
        /// <value></value>
        [Column("together_num")]
        public int together_num { get; set; }

        /// <summary>
        /// 不排课编号
        /// </summary>
        [Column("no_course")]
        public string no_course { get; set; }

    }
}
